import type { BASE_CONFIG } from '@/type/interface';

declare const process: {
	env: {
		NODE_ENV: string;
	};
};

var URL_CONGFIG: BASE_CONFIG = {
	BASE_URL: "",
	WS_URL: ""
}

if (process.env.NODE_ENV === 'development') {
	// 开发环境
	URL_CONGFIG.BASE_URL = '';//https://
	URL_CONGFIG.WS_URL = '';//wss://
} else {
	// 正式环境
	URL_CONGFIG.BASE_URL = '';//https://
	URL_CONGFIG.WS_URL = '';//wss://
}

export default URL_CONGFIG